// api/user.js
import request from '@/utils/request';

// 用户登录接口
export function login(data) {
    return request({
        url: '/user/login',
        method: 'POST',
        data
    });
}

export function upUserInfo(data) {
    return request({
        url: '/user/upUserInfo',
        method: 'POST',
        data
    });
}

export function getUserInfo(data) {
    return request({
        url: '/user/getUserInfo',
        method: 'GET',
    });
}